package com.umakr.ax.security.enums;

/**
 * @author gx
 * @since 2017/6/14
 */
public enum ResType {
    /**
     * MODULE
     */
    MODULE("MODULE"),
    /**
     *ACTION
     */
    ACTION("ACTION"),
    /**
     *LINK
     */
    LINK("LINK"), ;
    private String name;
    private ResType(String value){
        this.name = value;
    }

    public boolean eq(String name){
        return this.name.equals( name );
    }
}
